<?php
namespace app\admin\constant;
/**
 * 任务相关常量
 */
class DisabilityLevelConstant{
    //失能等级：1能力完好，2轻微失能，3中度失能，4重度失能
    const INTACT = 1;
    const SLIGHT = 2;
    const MEDIUM = 3;
    const HEAVY = 4;

    public static function getMap(): array
    {
        return [
            self::INTACT => '能力完好',
            self::SLIGHT => '轻微失能',
            self::MEDIUM => '中度失能',
            self::HEAVY => '重度失能',
        ];
    }
}